package com.enumdemo;

/**
 * 添加自己的构造器
 * 
 * @author Administrator
 * 
 */
public enum ConstructDemo {

	WEST("west"), NORTH("north"), EAST("east"), SOUTH("south");

	private String desc;

	private ConstructDemo(String desc) {
		this.desc = desc;
	}

	public String getDesc() {
		return desc;
	}

	public static void main(String[] args) {
		for (ConstructDemo c : ConstructDemo.values()) {
			System.out.println(c.getDesc());
		}
	}

}
